
<table>
	<tr>
		<td width="20%" align="right">流水号：</td>
		<td width="30%">#{[$result.id]}({[$result.oper_t]})</td>
		<td width="20%" align="right">状态：</td>
		<td width="30%">{[$result.status_t]}</td>
	</tr>
	<tr>
		<td align="right">负责人：</td>
		<td>{[$result.emp_t]}</td>
		<td align="right">分类：</td>
		<td>{[$result.category_t]}</td>
	</tr>
	<tr>
		<td align="right">银行：</td>
		<td>{[$result.bank_t]}</td>
		<td align="right">更新日期：</td>
		<td>{[$result.date]}</td>
	</tr>
	<tr>
		<td align="right">名称：</td>
		<td>{[$result.name]}</td>
		<td align="right">更新方式：</td>
		<td>{[$result.manual_t]}</td>
	</tr>
	<tr>
		<td align="right">金额：</td>
		<td colspan="3">（大写）{[$result.currency_t]} {[$result.amount|rmb]} （小写）{[$result.currency]} {[$result.amount|money]}</td>
	</tr>
	<tr>
		<td align="right">汇率：</td>
		<td>{[$result.rate]}</td>
		<td align="right">人民币：</td>
		<td>{[$result.rmb|money]}</td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3">{[$result.content]}</td>
	</tr>
	<tr>
		<td align="right">1天变化：</td>
		<td>{[$result.x_day|money]}</td>
		<td align="right">创建时间：</td>
		<td>{[$result.createtime]}</td>
	</tr>
	<tr>
		<td align="right">1周变化：</td>
		<td>{[$result.x_day|money]}</td>
		<td align="right">更新时间：</td>
		<td>{[$result.modifytime]}</td>
	</tr>
</table>

<table style="margin-top: 10px">
	<tr>
		<th width="40">序号</th>
		<th>流水号</th>		
		<th>币种</th>
		<th>金额</th>
		<th>人民币</th>
		<th>1天变化</th>
		<th>更新日期</th>
		<th>备注</th>
		
		<th>负责人</th>
	</tr>
	{[foreach name=outer key=key item=item from=$result.history]} 
	{[assign var="no" value="`$key+1`"]} 
	{[assign var="t1" value="`$t1+$item.amount`"]} 
	{[assign var="t2" value="`$t2+$item.rmb`"]}
	{[assign var="t3" value="`$t3+$item.z_day`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td>{[$no]}</td>
		<td>{[$item.id]}</td>
		<td>{[$item.currency_t]}</td>
		<td>{[$item.amount|money]}</td>
		<td>{[$item.rmb|money]}</td>
		<td>{[$item.z_day|money]}</td>
		<td>{[$item.date]}</td>
		<td>{[$item.content|truncate:30:"...":true]}</td>
		<td>{[$item.emp_t]}</td>
	</tr>
	{[/foreach]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td colspan="5"></td>
		<td>{[$t3|money]}</td>
		<td colspan="5"></td>
	</tr>
</table>
